//用户模块的请求api
import axios from '../utils/axiosInstance.js'

//视频上传
export const mp4Upload=(data)=>{
    return axios({
            method:"post",
            url:"file/uploadVideo",
            data,
            headers: {'Content-Type': 'multipart/form-data'}
          })
}

//视频上传
export const uploadImg=(data)=>{
    return axios({
        method:"post",
        url:"file/uploadImage",
        data,
        headers: {'Content-Type': 'multipart/form-data'}
    })
}
